<template>
	<view class="box">
		<view class="wrap">
			<view class="orderwrap">
				<view class="orderitem">
					<view class="itemtop">
						<view class="name">
							商品信息 <image :src="baseUrl +'/static/icon/right.png'" mode="aspectFill"></image>
						</view>
					</view>
					<view class="itemcenter">
						<!-- <image :src="baseUrl + '/static/image/test.png'" mode="aspectFill"></image> -->
						<view class="itemcenterright">
							<view class="itemcenterrightitem">
								sssssssssssssssssssssss
							</view>
							<view class="itemcenterrightitem">
								<text class="textone">数量</text>
								<text class="texttwo">X1</text>
							</view>
							<view class="itemcenterrightitem">
								<text class="textone">金额</text>
								<text class="texttwo">￥19.9</text>
							</view>
						</view>
					</view>

				</view>
			</view>
			<view class="item">
				<text class="left">订单编号</text>
				<text class="right">TG12412312312311</text>
			</view>
			<view class="item">
				<text class="left">订单编号</text>
				<text class="right">TG12412312312311</text>
			</view>
			<view class="item">
				<text class="left">订单编号</text>
				<text class="right">TG12412312312311</text>
			</view>
			<view class="item">
				<text class="left">订单编号</text>
				<text class="right">TG12412312312311</text>
			</view>
			<view class="item">
				<text class="left">订单编号</text>
				<text class="right">TG12412312312311</text>
			</view>
		</view>
		<view class="main">
			<view class="tit">
				More值明细
			</view>
			<view class="item">
				<text class="left">订单编号</text>
				<text class="right">TG12412312312311</text>
			</view>
			<view class="item">
				<text class="left">订单编号</text>
				<text class="right">TG12412312312311</text>
			</view>
			<view class="item">
				<text class="left">订单编号</text>
				<text class="right">TG12412312312311</text>
			</view>
		</view>
	</view>

</template>

<script>
	import {
		setting
	} from "../../api/other.js"
	export default {
		data() {
			return {
				baseUrl: this.$imageBaseUrl,
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.box {
		width: 750rpx;
		height: 100vh;
		background: #F7F7F7;
	}

	.wrap {
		width: 690rpx;
		min-height: 532rpx;
		background: #FFFFFF;
		border-radius: 24rpx 24rpx 24rpx 24rpx;
		margin: 0 auto;
		margin-top: 24rpx;
		padding-bottom: 20rpx;
	}

	.orderwrap {
		width: 690rpx;
		margin-top: 40rpx;

		.orderitem {
			width: 690rpx;
			height: 280rpx;
			background: #FFFFFF;
			border-radius: 24rpx 24rpx 24rpx 24rpx;
			margin: 0 auto;
			border-bottom: 2rpx solid rgba(0, 0, 0, 0.05);

			.itemtop {
				display: flex;

				.name {
					margin-top: 38rpx;
					width: 690rpx;
					margin-left: 24rpx;
					display: flex;
					justify-content: space-between;
					align-items: center;

					>image {
						width: 14rpx;
						height: 20rpx;
						margin-left: 50rpx;
						margin-right: 50rpx;
					}
				}

				.tag {
					margin-top: 38rpx;
					margin-left: 24rpx;
					width: 96rpx;
					height: 42rpx;
					border-radius: 8rpx 8rpx 8rpx 8rpx;
					border: 1rpx solid #F63418;
					font-weight: 400;
					font-size: 24rpx;
					color: #F63418;
					text-align: center;
					line-height: 42rpx;
				}

				.tag2 {
					margin-top: 38rpx;
					margin-left: 24rpx;
					width: 96rpx;
					height: 42rpx;
					border-radius: 8rpx 8rpx 8rpx 8rpx;
					border: 1rpx solid #999999;
					font-weight: 400;
					font-size: 24rpx;
					color: #999999;
					text-align: center;
					line-height: 42rpx;
				}
			}

			.itemcenter {
				height: 140rpx;
				margin-top: 30rpx;
				margin-left: 24rpx;
				display: flex;

				>image {
					width: 140rpx;
					height: 140rpx;
					border-radius: 20rpx 20rpx 20rpx 20rpx;
				}

				.itemcenterright {
					width: 500rpx;
					margin-left: 24rpx;
					display: flex;
					flex-direction: column;
					justify-content: space-between;
					.itemcenterrightitem {
						// margin-top: 10rpx;
						width: 400rpx;
						white-space: nowrap;
						/* 强制文本不换行 */
						overflow: hidden;
						/* 隐藏溢出部分 */
						text-overflow: ellipsis;
						color: #333;
						.textone {
							font-weight: 400;
							font-size: 26rpx;
							color: #666666;
						}

						.texttwo {
							font-weight: 400;
							font-size: 26rpx;
							color: #666666;
							margin-left: 34rpx;
						}
					}
				}
			}

		}
	}

	.main {
		width: 690rpx;
		min-height: 292rpx;
		background: #FFFFFF;
		border-radius: 24rpx 24rpx 24rpx 24rpx;
		margin: 0 auto;
		margin-top: 30rpx;
		padding-bottom: 20rpx;

		.tit {
			width: 630rpx;
			border-bottom: 2rpx solid rgba(0, 0, 0, 0.05);
			padding-top: 30rpx;
			margin: 0 auto;
			padding-bottom: 32rpx;
		}
	}

	.item {
		width: 630rpx;
		display: flex;
		justify-content: space-between;
		margin: 0 auto;
		margin-top: 26rpx;

		.left {
			font-weight: 400;
			font-size: 28rpx;
			color: #666666;
		}

		.right {
			font-weight: 400;
			font-size: 28rpx;
			color: #333333;
		}
	}
</style>